Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(app): Update Runs page visuals to new layout and card design #27770

Merged
merged 73 commits into from
Sep 14, 2023

Conversation

dkasper-was-taken
Copy link
Contributor

@dkasper-was-taken dkasper-was-taken commented Sep 8, 2023

Additional details

  • Introduce RunsLayout for RunsContainer
    • Git layout grouped by sha
    • w/o Git layout single group
  • Update RunCard to
    • New breakpoint responsive design
    • Add Debug button that navigates to run on debug page
  • Increase Latest Run count from 10 -> 100
  • Fix showDebugForCloudRun return type, should be boolean as it's navigational and no query data is returned

Screen Shot 2023-09-11 at 2 26 17 PM
Screen Shot 2023-09-11 at 2 26 07 PM

Steps to test

  • Launch Cypress with associated cloud run
  • Verify latest run status matches icon

How has the user experience changed?

PR Tasks

Copy link
Contributor

@astone123 astone123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good! I left a few minor comments. The only one that I think really needs fixing is the "View runs in Cypress Cloud" button.

Copy link
Contributor

@astone123 astone123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for addressing my comments ✅

@astone123 astone123 requested a review from a team September 12, 2023 17:43
Copy link
Contributor

@warrensplayer warrensplayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created a PR (#27798) with changes to consider. Please take a look and validate if they make sense to include or not.

I wish there was a better way to accomplish the complexity with when and where the flaky badge is shown. Potentially pulling that part out of the RunResults component and making it a separate component would help, but not going to ask for that now.

Overall, the changes are great! I just feel like there is no reason to truncate the branch name and duration/time ago information at the larger breakpoints when there will always be plenty of room.

The only other request I have is to write tests to validate the tooltip for the RunTags to validate they contain the right information at the different breakpoints.

@warrensplayer
Copy link
Contributor

One other thing that was not called out on the original issue but is in the designs is the updated "skeleton" loading states for the page. There are two versions (with and without git info). They are here:

@dkasper-was-taken
Copy link
Contributor Author

One other thing that was not called out on the original issue but is in the designs is the updated "skeleton" loading states for the page. There are two versions (with and without git info). They are here:

Updated with new skeletons.

@dkasper-was-taken
Copy link
Contributor Author

Created a PR (#27798) with changes to consider. Please take a look and validate if they make sense to include or not.

I wish there was a better way to accomplish the complexity with when and where the flaky badge is shown. Potentially pulling that part out of the RunResults component and making it a separate component would help, but not going to ask for that now.

Overall, the changes are great! I just feel like there is no reason to truncate the branch name and duration/time ago information at the larger breakpoints when there will always be plenty of room.

The only other request I have is to write tests to validate the tooltip for the RunTags to validate they contain the right information at the different breakpoints.

Added tooltip tests, merged changes down, looks solid!

Copy link
Contributor

@warrensplayer warrensplayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skeletons worked out great. Left some suggestions for small improvements.

The tests for the tooltips on the RunTagCount allowed me to better see the styling there. Added some suggestions to get it to better match the designs.

dkasper-was-taken and others added 8 commits September 14, 2023 10:57
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Stokes Player <stokes@cypress.io>
@dkasper-was-taken dkasper-was-taken merged commit 0e239bf into develop Sep 14, 2023
@dkasper-was-taken dkasper-was-taken deleted the dkasper/app/runs-page-visuals branch September 14, 2023 21:35
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Sep 27, 2023

Released in 13.3.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.3.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Runs page Cards to new design
3 participants